<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    html {
      background-color: red;
    }
    html.changed {
      position: absolute;
      top: 100px;
      left: 100px;
      background-color: green;
    }
  </style>
  <script src="../resources/text-based-repaint.js" type="text/javascript"></script>
  <script type="text/javascript">
      function repaintTest()
      {
          document.documentElement.className = 'changed';
      }
  </script>
</head>
<body onload="runRepaintAndPixelTest()">
  <p>Tests that the entire viewport is painted with a floated html element.</p>
</body>
</html>
